package com.cs5103.project.calendar;

import java.util.Date;
 
public class Event {
 
        private int id;
        private Long start_day;
        private Long end_day;
        private String title;
        private String description;
        private int week_repeat = 0;
        private int month_repeat = 0;
        private int year_repeat = 0;
        private String event_location;
        private int event_category = -1;
 
        public int getId() {
                return id;
        }
 
        public void setId(int id) {
                this.id = id;
        }
 
        public String getTitle() {
                return this.title;
        }
 
        public void setTitle(String name) {
                this.title = name; 
        }
 
        public Long getStart_day() {
                return start_day;
        }
 
        public void setStart_day(Date start_day) {
                this.start_day = start_day.getTime();
        }
 
        public void setStart_day(Long start_day) {
                this.start_day = start_day;
        }
 
        public Long getEnd_day() {
                return end_day;
        }
 
        public void setEnd_day(Long end_day) {
                this.end_day = end_day;
        }
 
        public void setEnd_day(Date end_day) {
                this.end_day = end_day.getTime();
        }
 
        public String getDescription() {
                return description;
        }
 
        public void setDescription(String description) {
                this.description = description;
        }
 
        public int getWeek_repeat() {
                return week_repeat;
        }
 
        public void setWeek_repeat(int week_repeat) {
                this.week_repeat = week_repeat;
        }
 
        public int getMonth_repeat() {
                return month_repeat;
        }
 
        public void setMonth_repeat(int month_repeat) {
                this.month_repeat = month_repeat;
        }
 
        public int getYear_repeat() {
                return year_repeat;
        }
 
        public void setYear_repeat(int year_repeat) {
                this.year_repeat = year_repeat;
        }
 
        public String getEvent_location() {
                return event_location;
        }
 
        public void setEvent_location(String event_location) {
                this.event_location = event_location;
        }
 
        public int getEvent_category() {
                return event_category;
        }
 
        public void setEvent_category(int string) {
                this.event_category = string;
        }
}
 

